//
//  HZMProtectCVC.m
//  糖糖大魔王
//
//  Created by 韩震明 on 15/11/11.
//  Copyright © 2015年 韩震明. All rights reserved.
//

#import "HZMProtectCVC.h"

@implementation HZMProtectCVC

- (void)dealloc
{
    [_picImageView release];
    [_desc release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createCell];
    }
    return self;
}

- (void)createCell
{
    self.picImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, 4 * self.contentView.frame.size.height / 5)];
    [self.contentView addSubview:self.picImageView];
    [_picImageView release];
    
    self.desc = [[UILabel alloc] initWithFrame:CGRectMake(0, 4 * self.contentView.frame.size.height / 5, self.contentView.frame.size.width, self.contentView.frame.size.height / 5)];
    [self.contentView addSubview:self.desc];
    [_desc release];
    
}

@end
